﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WadViewer.DomainModel
{
	/// <summary>
	/// Entity with properties for the trace logs
	/// </summary>
	public class WadTraceLogEntity : WadEntity
	{
		/// <summary>
		/// The message logged
		/// </summary>
		public string Message { get; set; }

		public override string ListDisplay
		{
			get {
				return MaxThreeLines(Message);
			}
		}

		public override string ToString()
		{
			return string.Format("{0}\t{1}", base.ToString(), Message);
		}
	}
}
